<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>全部订单</title>
    <link rel="stylesheet" type="text/css" href="css/css1.css"/>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <script src="https://cdn.bootcss.com/vue-resource/1.5.1/vue-resource.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.js"></script>
    <style type="text/css">
        body {
            margin: 0;
            padding: 0;
        }

        p {
            margin: 0;
        }

        h2 {
            margin: 0;
            padding: 0;
            font-weight: 300;
        }

        ol, ul {
            list-style: none;
            margin: 0;
            padding-left: 0;
        }

        a {
            color: #000;
            text-decoration: none;
        }

        .pull-right {
            float: right;
        }

        .pull-left {
            float: left;
        }

        .me-page {
            width: 990px;
            margin: 20px auto;
        }

        .home-navigation {
            width: 180px;
            float: left;
            margin-right: 8px;
            border: 1px solid #dedede;
        }

        .home-navigation p {
            height: 40px;
            line-height: 40px;
            padding: 0 8px;
            margin: 0;
            background-color: #e3e3e3;
            font-size: 20px;
            font-weight: 700;
        }

        .home-navigation p span {
            font-size: 9px;
            font-weight: 300;
            vertical-align: middle;
        }

        .user-thumb {
            padding: 20px 0;
        }

        .thumb-bg {
            width: 100px;
            height: 100px;
            margin: 0 auto;
            padding: 5px 7px 7px 5px;
        }

        .thumb-bg img {
            width: 100px;
            height: 100px;
        }

        .nav-title {
            height: 38px;
            line-height: 38px;
            font-size: 14px;
            border-top: 1px solid #ccc;
            color: black;
            background: #e6e6e6;
            margin: 0;
            padding-left: 0;
        }

        .title-icon {
            float: left;
            display: block;
            width: 15px;
            height: 15px;
            margin: 12px 10px 0;
            background: url("images/ucenter/nav-group.png");
        }

        .nav-group .nav-row.first {
            border-top: none;
        }

        .nav-group .nav-row {
            height: 38px;
            line-height: 38px;
            border-top: 1px solid #e2e2e2;
            padding-left: 35px;
            color: #666;
            background: #f8f8f8;
            font-size: 12px;
            cursor: pointer;
        }

        .nav-group .nav-row:hover {
            background-color: white;
        }

        .nav-group ul li.active.nav-row {
            background: #636363;
            color: #e3e3e3;
        }

        .me-main {
            float: left;
            color: black;
            width: 800px;
            box-sizing: border-box;
        }

        .latest-order {
            margin-bottom: 10px;
        }

        .latest-order .title {
            height: 40px;
            line-height: 40px;
            padding: 0 8px;
            background: #e3e3e3;
        }

        .latest-order .title > span {
            float: left;
            font-size: 16px;
            font-weight: 700;
        }

        .latest-order .title .more {
            float: right;
            display: block;
            height: 23px;
            line-height: 23px;
            width: 63px;
            margin-top: 8px;
            font-size: 10px;
            color: #fdfdfd;
            background-color: #636363;
            text-align: center;
            -webkit-border-radius: 6px;
            -moz-border-radius: 6px;
            border-radius: 6px;

        }

        .latest-order .swindle-info span {
            color: red;
        }

        .swindle-info {
            margin: 10px;
            background-color: #faf6da;
            color: black;
            font-size: 12px;
            padding: 10px;
        }

        .my-orders {
            font-size: 12px;
        }

        .my-orders .table-header {
            height: 30px;
            line-height: 30px;
            background: #efefef;
            border: 1px solid #e6e6e6;
            padding: 0 10px;
        }

        .table-header > span {
            display: block;
            float: left;
            text-align: center;
        }

        .table-header .info {
            width: 330px;
            text-align: left;
            padding-left: 10px;
        }

        .table-header .price {
            width: 75px;
        }

        .table-header .count {
            width: 60px;
        }

        .table-header .pay, .table-header .order-status, .table-header .operation {
            width: 100px;
        }

        .empty-tip {
            padding: 200px 0;
            text-align: center;
            overflow: hidden;
        }

        .me-pager {
            width: 778px;
            height: 22px;
            line-height: 22px;
            background: #f3f3f3;
            border-top: 1px solid #e3e3e3;
            padding: 10px;
            font-size: 12px;
            color: #000;
        }
    </style>
</head>
<body>
<div id="app-userCenter">
    <div class="top">
        <div class="top-list">
            <div class="top-left" v-show="!isLogin">
                <a href="#"><span>雷猴~</span></a>
                <a href="login.html"><span>[请登录]</span></a>
                <a href="register.html"><span>[注册]</span></a>
            </div>
            <div class="top-right">
                <a href="user-center.html" v-show="isLogin"><span>{{ nickname }}</span></a>
                <a href="javascript:void(0)"><span style="cursor: pointer" @click="quitLogin" v-show="isLogin">[退出]</span></a>
                <a href="#"><span>我的订单</span></a>
                <a href="user-collect.html"><span>我的收藏</span></a>
            </div>
        </div>
    </div>
    <!--首页-->
    <div class="head-logo">
        <div class="head-inner">
            <!--logo-->
            <div class="header-logo">
                <a href="index.html"><img src="images/logo.png" alt="乐鲜生活" height="80"/></a>
            </div>
            <!--购物车-->
            <div class="buyCar">
                <a href="buy-cart.html">
                    <span class="shopping-bag-icon"></span>
                </a>
            </div>
            <div class="header-search">
                <!--搜索框-->
                <div class="search-form">
                    <input type="text" name="search-content" class="header-search-input" maxlength="100"
                           placeholder="搜一哈你想搜的内容"/>
                    <a href="#" class="header-search-button">
                        <span class="header-search-icon"></span>
                    </a>
                </div>
            </div>
        </div>
    </div>
       <div class="header-nav">
        <div class="first-category">
            <ul class="first-category-ul">
                <li v-for="(item,index) in primaryCategory" @click="onPrimCateClick(index)" class="first-category-item">
                    <span>{{item.name}}</span>
                </li>

            </ul>

        </div>
    </div>
    <div class="me-page">
        <div class="home-navigation">
            <!-- 标题 -->
            <a href="user-center.html"><p>个人中心<span>ucenter</span></p></a>
            <!-- 头像 -->
            <div class="user-thumb">
                <div class="thumb-bg">
                    <img id="user-thumb" src="images/ucenter/1.gif"/>
                </div>
            </div>
            <div class="nav-group">
                <h2 class="nav-title"><span class="title-icon"></span>交易管理</h2>
                <ul>
                    <li class="nav-row first active"><a href="user-order.html">我的订单</a></li>
                    <li class="nav-row"><a href="user-collect.html">我的收藏</a></li>
                    <li class="nav-row">浏览记录</li>
                    <li class="nav-row">我的vip</li>
                </ul>
            </div>
            <div class="nav-group">
                <h2 class="nav-title"><span class="title-icon"></span>个人信息管理</h2>
                <ul>
                    <li class="nav-row first">编辑个人资料</li>
                    <li class="nav-row"><a href="user-address.html">地址管理</a></li>
                </ul>
            </div>
        </div>
        <div class="me-main">
            <div class="latest-order">
                <h2 class="title">
                    <span>最近订单</span>
                    <a href="#" class="more-order more">全部订单</a>
                </h2>
                <div class="swindle-info">
                    <span>重要提醒：</span>近期假冒客服诈骗时间频发，leGo只会给您二维码引导您转账，谢谢配合。
                </div>
                <div class="my-orders">
                    <p class="table-header">
                        <span class="info">商品信息</span>
                        <span class="price">单价（元）</span>
                        <span class="count">数量</span>
                        <span class="pay">实付款（元）</span>
                        <span class="order-status">订单状态</span>
                        <span class="operation">操作</span>
                    </p>
                    <p class="empty-tip">亲亲~你没有任何订单哦！</p>
                </div>
                <div class="me-pager">
                    <div class="pull-right">
                        <span>共0条结果，0/0条结果</span>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="./js/userCenter.js"></script>

</body>
</html>